package com.project.mapper;

import com.baomidou.mybatisplus.core.mapper.BaseMapper;
import com.project.bean.InventoryInfoBean;
import org.apache.ibatis.annotations.Mapper;

import java.util.List;

@Mapper
public interface IInventoryInfoMapper extends BaseMapper<InventoryInfoBean> {
    /**
     * 通过库存商品id，查出商品的所有颜色，并去重
     * @param id
     * @return
     */
    List<InventoryInfoBean> findGoodsColorsById(String id);
}
